home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 24
/
CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso
/
Scalos
/
RenderLib
/
maxonc
/
c-libs
/
render.lib
Wrap
Text File
|
1998-04-19
|
8KB
|
474 lines
SECTION "RENDER_STUBS",CODE
XREF _RenderBase
XDEF _CreateRMHandler
_CreateRMHandler:
XDEF CreateRMHandler
CreateRMHandler:
XDEF CreateRMHandler__Uje
CreateRMHandler__Uje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
LEA 08(A7),A1
JSR -042(A6)
MOVE.L (A7)+,A6
RTS
XDEF _CreateHistogram
_CreateHistogram:
XDEF CreateHistogram
CreateHistogram:
XDEF CreateHistogram__Uje
CreateHistogram__Uje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
LEA 08(A7),A1
JSR -078(A6)
MOVE.L (A7)+,A6
RTS
XDEF _AddRGBImage
_AddRGBImage:
XDEF AddRGBImage
AddRGBImage:
XDEF AddRGBImage__PvPUjUsUsUje
AddRGBImage__PvPUjUsUsUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
MOVEM.L 20(A7),D0/D1
LEA 28(A7),A2
JSR -102(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _AddChunkyImage
_AddChunkyImage:
XDEF AddChunkyImage
AddChunkyImage:
XDEF AddChunkyImage__PvPUcUsUsPvUje
AddChunkyImage__PvPUcUsUsPvUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 16(A7),A0/A1
MOVEM.L 24(A7),D0/D1/A2
LEA 36(A7),A3
JSR -108(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _ExtractPalette
_ExtractPalette:
XDEF ExtractPalette
ExtractPalette:
XDEF ExtractPalette__PvPUjUsUje
ExtractPalette__PvPUjUsUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
MOVE.L 20(A7),D0
LEA 24(A7),A2
JSR -114(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _Render
_Render:
XDEF Render
Render:
XDEF Render__PUjUsUsPUcPvUje
Render__PUjUsUsPUcPvUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 16(A7),A0
MOVEM.L 20(A7),D0/D1/A1/A2
LEA 36(A7),A3
JSR -120(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _Planar2Chunky
_Planar2Chunky:
XDEF Planar2Chunky
Planar2Chunky:
XDEF Planar2Chunky__PPUcUsUsUsUsPUcUje
Planar2Chunky__PPUcUsUsUsUsPUcUje:
MOVEM.L D2/D3/A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 20(A7),A0
MOVEM.L 24(A7),D0/D1/D2/D3/A1
LEA 44(A7),A2
JSR -126(A6)
MOVEM.L (A7)+,D2/D3/A2/A6
RTS
XDEF _Chunky2RGB
_Chunky2RGB:
XDEF Chunky2RGB
Chunky2RGB:
XDEF Chunky2RGB__PUcUsUsPUjPvUje
Chunky2RGB__PUcUsUsPUjPvUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 16(A7),A0
MOVEM.L 20(A7),D0/D1/A1/A2
LEA 36(A7),A3
JSR -132(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _Chunky2BitMap
_Chunky2BitMap:
XDEF Chunky2BitMap
Chunky2BitMap:
XDEF Chunky2BitMap__PUcUsUsUsUsP06BitMapUsUsUje
Chunky2BitMap__PUcUsUsUsUsP06BitMapUsUsUje:
MOVEM.L D2/D3/D4/D5/A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 28(A7),A0
MOVEM.L 32(A7),D0/D1/D2/D3/A1
MOVEM.L 52(A7),D4/D5
LEA 60(A7),A2
JSR -138(A6)
MOVEM.L (A7)+,D2/D3/D4/D5/A2/A6
RTS
XDEF _CreateScaleEngine
_CreateScaleEngine:
XDEF CreateScaleEngine
CreateScaleEngine:
XDEF CreateScaleEngine__UsUsUsUsUje
CreateScaleEngine__UsUsUsUsUje:
MOVEM.L D2/D3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 16(A7),D0/D1/D2/D3
LEA 32(A7),A1
JSR -144(A6)
MOVEM.L (A7)+,D2/D3/A6
RTS
XDEF _Scale
_Scale:
XDEF Scale
Scale:
XDEF Scale__PvPvPvUje
Scale__PvPvPvUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 16(A7),A0/A1/A2
LEA 28(A7),A3
JSR -156(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _ConvertChunky
_ConvertChunky:
XDEF ConvertChunky
ConvertChunky:
XDEF ConvertChunky__PUcPvUsUsPUcPvUje
ConvertChunky__PUcPvUsUsPUcPvUje:
MOVEM.L A2/A3/A4/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 20(A7),A0/A1
MOVEM.L 28(A7),D0/D1/A2/A3
LEA 44(A7),A4
JSR -162(A6)
MOVEM.L (A7)+,A2/A3/A4/A6
RTS
XDEF _CreatePenTable
_CreatePenTable:
XDEF CreatePenTable
CreatePenTable:
XDEF CreatePenTable__PUcPvUsUsPvPUcUje
CreatePenTable__PUcPvUsUsPvPUcUje:
MOVEM.L A2/A3/A4/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 20(A7),A0/A1
MOVEM.L 28(A7),D0/D1/A2/A3
LEA 44(A7),A4
JSR -168(A6)
MOVEM.L (A7)+,A2/A3/A4/A6
RTS
XDEF _CreatePalette
_CreatePalette:
XDEF CreatePalette
CreatePalette:
XDEF CreatePalette__Uje
CreatePalette__Uje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
LEA 08(A7),A1
JSR -174(A6)
MOVE.L (A7)+,A6
RTS
XDEF _ImportPalette
_ImportPalette:
XDEF ImportPalette
ImportPalette:
XDEF ImportPalette__PvPvUsUje
ImportPalette__PvPvUsUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
MOVE.L 20(A7),D0
LEA 24(A7),A2
JSR -186(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _ExportPalette
_ExportPalette:
XDEF ExportPalette
ExportPalette:
XDEF ExportPalette__PvPvUje
ExportPalette__PvPvUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
LEA 20(A7),A2
JSR -192(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _SortPalette
_SortPalette:
XDEF SortPalette
SortPalette:
XDEF SortPalette__PvUjUje
SortPalette__PvUjUje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 08(A7),A0
MOVE.L 12(A7),D0
LEA 16(A7),A1
JSR -216(A6)
MOVE.L (A7)+,A6
RTS
XDEF _AddHistogram
_AddHistogram:
XDEF AddHistogram
AddHistogram:
XDEF AddHistogram__PvPvUje
AddHistogram__PvPvUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
LEA 20(A7),A2
JSR -222(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _CreateMapEngine
_CreateMapEngine:
XDEF CreateMapEngine
CreateMapEngine:
XDEF CreateMapEngine__PvUje
CreateMapEngine__PvUje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 08(A7),A0
LEA 12(A7),A1
JSR -246(A6)
MOVE.L (A7)+,A6
RTS
XDEF _MapRGBArray
_MapRGBArray:
XDEF MapRGBArray
MapRGBArray:
XDEF MapRGBArray__PvPUjUsUsPUcUje
MapRGBArray__PvPUjUsUsPUcUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 16(A7),A0/A1
MOVEM.L 24(A7),D0/D1/A2
LEA 36(A7),A3
JSR -258(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _RGBArrayDiversity
_RGBArrayDiversity:
XDEF RGBArrayDiversity
RGBArrayDiversity:
XDEF RGBArrayDiversity__PUjUsUsUje
RGBArrayDiversity__PUjUsUsUje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 08(A7),A0
MOVEM.L 12(A7),D0/D1
LEA 20(A7),A1
JSR -264(A6)
MOVE.L (A7)+,A6
RTS
XDEF _ChunkyArrayDiversity
_ChunkyArrayDiversity:
XDEF ChunkyArrayDiversity
ChunkyArrayDiversity:
XDEF ChunkyArrayDiversity__PUcPvUsUsUje
ChunkyArrayDiversity__PUcPvUsUsUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 12(A7),A0/A1
MOVEM.L 20(A7),D0/D1
LEA 28(A7),A2
JSR -270(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _MapChunkyArray
_MapChunkyArray:
XDEF MapChunkyArray
MapChunkyArray:
XDEF MapChunkyArray__PvPUcPvUsUsPUcUje
MapChunkyArray__PvPUcPvUsUsPUcUje:
MOVEM.L A2/A3/A4/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 20(A7),A0/A1/A2
MOVEM.L 32(A7),D0/D1/A3
LEA 44(A7),A4
JSR -276(A6)
MOVEM.L (A7)+,A2/A3/A4/A6
RTS
XDEF _InsertAlphaChannel
_InsertAlphaChannel:
XDEF InsertAlphaChannel
InsertAlphaChannel:
XDEF InsertAlphaChannel__PUcUsUsPUjUje
InsertAlphaChannel__PUcUsUsPUjUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 12(A7),A0
MOVEM.L 16(A7),D0/D1/A1
LEA 28(A7),A2
JSR -282(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _ExtractAlphaChannel
_ExtractAlphaChannel:
XDEF ExtractAlphaChannel
ExtractAlphaChannel:
XDEF ExtractAlphaChannel__PUjUsUsPUcUje
ExtractAlphaChannel__PUjUsUsPUcUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 12(A7),A0
MOVEM.L 16(A7),D0/D1/A1
LEA 28(A7),A2
JSR -288(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _ApplyAlphaChannel
_ApplyAlphaChannel:
XDEF ApplyAlphaChannel
ApplyAlphaChannel:
XDEF ApplyAlphaChannel__PUjUsUsPUjUje
ApplyAlphaChannel__PUjUsUsPUjUje:
MOVEM.L A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 12(A7),A0
MOVEM.L 16(A7),D0/D1/A1
LEA 28(A7),A2
JSR -294(A6)
MOVEM.L (A7)+,A2/A6
RTS
XDEF _MixRGBArray
_MixRGBArray:
XDEF MixRGBArray
MixRGBArray:
XDEF MixRGBArray__PUjUsUsPUjUsUje
MixRGBArray__PUjUsUsPUjUsUje:
MOVEM.L D2/A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 16(A7),A0
MOVEM.L 20(A7),D0/D1/A1
MOVE.L 32(A7),D2
LEA 36(A7),A2
JSR -300(A6)
MOVEM.L (A7)+,D2/A2/A6
RTS
XDEF _CreateAlphaArray
_CreateAlphaArray:
XDEF CreateAlphaArray
CreateAlphaArray:
XDEF CreateAlphaArray__PUjUsUsUje
CreateAlphaArray__PUjUsUsUje:
MOVE.L A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 08(A7),A0
MOVEM.L 12(A7),D0/D1
LEA 20(A7),A1
JSR -312(A6)
MOVE.L (A7)+,A6
RTS
XDEF _MixAlphaChannel
_MixAlphaChannel:
XDEF MixAlphaChannel
MixAlphaChannel:
XDEF MixAlphaChannel__PUjPUjUsUsPUjUje
MixAlphaChannel__PUjPUjUsUsPUjUje:
MOVEM.L A2/A3/A6,-(A7)
MOVE.L _RenderBase,A6
MOVEM.L 16(A7),A0/A1
MOVEM.L 24(A7),D0/D1/A2
LEA 36(A7),A3
JSR -318(A6)
MOVEM.L (A7)+,A2/A3/A6
RTS
XDEF _TintRGBArray
_TintRGBArray:
XDEF TintRGBArray
TintRGBArray:
XDEF TintRGBArray__PUjUsUsUjUsPUjUje
TintRGBArray__PUjUsUsUjUsPUjUje:
MOVEM.L D2/D3/A2/A6,-(A7)
MOVE.L _RenderBase,A6
MOVE.L 20(A7),A0
MOVEM.L 24(A7),D0/D1/D2/D3/A1
LEA 44(A7),A2
JSR -324(A6)
MOVEM.L (A7)+,D2/D3/A2/A6
RTS